package org.locker.service;

import org.locker.domain.BluetoothVersion;
import org.locker.domain.vo.BluetoothVersionVo;
import org.locker.domain.bo.BluetoothVersionBo;
import org.locker.common.mybatis.core.page.TableDataInfo;
import org.locker.common.mybatis.core.page.PageQuery;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Collection;
import java.util.List;

/**
 * 蓝牙升级信息Service接口
 *
 * @author winnie
 * @date 2023-10-11
 */
public interface IBluetoothVersionService extends IService<BluetoothVersion>{

    /**
     * 查询蓝牙升级信息
     */
    BluetoothVersionVo queryById(Long bluetoothVersionId);

    /**
     * 查询蓝牙升级信息列表
     */
    TableDataInfo<BluetoothVersionVo> queryPageList(BluetoothVersionBo bo, PageQuery pageQuery);

    /**
     * 查询蓝牙升级信息列表
     */
    List<BluetoothVersionVo> queryList(BluetoothVersionBo bo);

    /**
     * 新增蓝牙升级信息
     */
    Boolean insertByBo(BluetoothVersionBo bo);

    /**
     * 修改蓝牙升级信息
     */
    Boolean updateByBo(BluetoothVersionBo bo);

    /**
     * 校验并批量删除蓝牙升级信息信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
